package cn.smbms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.smbms.pojo.Bill;



public interface BillMapper {
	//订单展示
	public List<Bill> getBillList(@Param("productName")String productName,@Param("providerId")Integer providerId,@Param("isPayment")Integer isPayment,
			@Param("currentPageNo")Integer currentPageNo, @Param("pageSize")Integer pageSize);
	//订单总数
	public int getBillCount(@Param("productName")String productName,@Param("providerId")Integer providerId,@Param("isPayment")Integer isPayment);
	//删除订单
	public int deleteBillById(@Param("id")Integer delId);
	//通过id得到订单
	public Bill getBillById(@Param("id")Integer id);
	//修改订单
	public int modify(Bill bill);
	//添加订单
	public int add(Bill bill);
	
}
